<div id="view-content">
	<div id="col" class="box">
		<div id="nav-mon">
               <div class="header-brown">
                    <div class="icon"></div>
                    <div class="title">Danh sách môn học </div>
                    <div class="clr"></div>
               </div>
			   
               <div class="nav-content">
               		<ul>
                   	<?php foreach ($this->mons as $mon) {
                    		echo '<li>
			                         <a href="'.$this->baseUrl('front/mark/?id='.$mon['id']).'">'.$mon['tenMonHoc'].'</a>
			                      </li>';
                     	}?>
                
	                </ul>
                </div>
		</div>
		<div class="show-content">
			<center>
				
				<?php 
					if(isset($this->message)){
						echo '<font color="blue" size="4" >'.$this->message .'</font>'; 
					}else 
						echo '<font color="blue" size="3" >'.$this->titleMon.'</font>';
				?>
				
			</center>
			<br>
			<table>
				<thead>
					<tr>
						<th class="f-mark-col1">Điểm hệ số 1</th>
						<th class="f-mark-col2">Điểm hệ số 2</th>
						<th class="f-mark-col3">Điểm thi</th>
						<th class="f-mark-col4">Học kỳ</th>
						<th class="f-mark-col5">Năm học</th>
					</tr>
				</thead>
				
				<tbody>
				<?php
					if(isset($this->marks)){ 
						foreach ($this->marks as $mark) {
					
				?>
						<tr>
							<th class="f-mark-col1"><?php echo $mark['diemHeSo1'];?></th>
							<th class="f-mark-col2"><?php echo $mark['diemHeSo2'];?></th>
							<th class="f-mark-col3"><?php echo $mark['diemThi'];?></th>
							<th class="f-mark-col4"><?php echo $mark['hocKy'];?></th>
							<th class="f-mark-col5"><?php echo $mark['namHoc'];?></th>
						</tr>
				<?php 	}
					}
				?>
				</tbody>
						
				<tfoot>
					<tr>
						<th class="f-mark-col1">Điểm hệ số 1</th>
						<th class="f-mark-col2">Điểm hệ số 2</th>
						<th class="f-mark-col3">Điểm thi</th>
						<th class="f-mark-col4">Học kỳ</th>
						<th class="f-mark-col5">Năm học</th>
					</tr>
				</tfoot>
			</table>	    
        </div>

	</div> <!-- /col -->
</div>